package com.video_study.dao;

import com.video_study.dto.VideoDto;
import com.video_study.pojo.Video;
import java.util.List;

public interface VideoMapper {
    int deleteByPrimaryKey(String id);

    int insert(Video record);

    Video selectByPrimaryKey(String id);

    List<Video> selectAll();

    int updateByPrimaryKey(Video record);

    List<VideoDto> getVideosByCourseId(String id);
}